/*
 * @Descripttion: 
 * @version: 
 * @Author: 十三
 * @Date: 2021-09-05 17:06:22
 * @LastEditors: 十三
 * @LastEditTime: 2022-03-08 21:38:21
 */
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
// 引入element-ui
import ElementUi from 'element-ui';
import axios from "axios";
//导入时间插件
import moment from 'moment';
// 引入element-ui样式
import 'element-ui/lib/theme-chalk/index.css';
import '../src/assets/alibaba/iconfont.css'
// import $ from 'jquery';
//引用layui
import layer from "layui-layer";
import {post,get,all} from "./utils/request";
import {request} from "./utils/MuiscAPI/request";
import {SM4DeCrypto,SM4EnCrypto} from "./utils/crypto";
import store from "./store/store";
// 导入样式文件
//import './assets/css/global.css'
//import './assets/css/common.css'
//import './assets/css/input_cat.css'
//import './assets/css/mdcss/cmdcss.css'
import './assets/fonts/iconfont.css'
Vue.config.devtools = true;
Vue.config.productionTip = false
import Plugin from 'v-fit-columns';
Vue.use(Plugin);
// 引入使用
Vue.use(ElementUi)
//定义全局变量
Vue.prototype.$post = post;
Vue.prototype.$get = get;
Vue.prototype.$all = all;
Vue.prototype.$request = request;
Vue.prototype.$axios = axios;
Vue.prototype.$SM4DeCrypto = SM4DeCrypto;
Vue.prototype.$SM4EnCrypto = SM4EnCrypto;
//定义全局时间过滤器
Vue.filter('dataFormat',function (date_str,pattern="YYYY-MM-DD HH:mm"){
  return moment(date_str).format(pattern)
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
   render: h => h(App)
})

